import java.util.Arrays;

public class swap {
    public static void main(String[] arges){
        int[] arr = {15, 65, 23, 19, 8, 72, 35, 4, 10};
        swap(arr[0],arr[1]);
        System.out.println(Arrays.toString(arr));
    }

    public static void swap(int a,int b){
        int temp=b;
        b=a;
        a = temp;
        System.out.print(a+"");
        System.out.print(b);
    }
}
